cd ~ 
yum -y install git

#install automake
yum -y install automake

#install fontconfig
yum -y install fontconfig

#install zsh
yum -y install zsh

#install wget
yum -y install wget

#install tmux depend libevent 
yum -y install libevent

#install tmux depend curses
yum -y install ncurses-devel

git clone git://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh
cp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc
sed -i "s/robbyrussell/ys/g" ~/.zshrc
#sed -i 's/原字符串/替换字符串/g'
#echo "ZSH_THEME="\"ys"\"" > .zshrc
chsh -s /bin/zsh
chsh -s $(which zsh)

#install z 
git clone https://github.com/rupa/z
echo ". ~/z/z.sh" >> ~/.zshrc
source ~/.zshrc

#git clone https://github.com/iplaces/astro-zsh-theme.git
#cp astro-zsh-theme/astro.zsh-theme ~/.oh-my-zsh/themes/
##ZSH_THEME="astro" in ~/.zshrc

reboot